<?php

namespace common\models\DAO;

use Yii;

/**
 * This is the model class for table "{{%article_info}}".
 *
 * @property string $articleID
 * @property string $content
 */
class ArticleInfo extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%article_info}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['articleID', 'content'], 'required'],
            [['articleID'], 'integer'],
            [['content'], 'string'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'articleID' => '文章ID',
            'content' => '文章内容',
        ];
    }
}
